package com.jdjt.dams.store;




import java.util.List;

import com.jfinal.core.Controller;

public class SatisticController extends Controller {
	

	
	/**
	 * 商铺信息
	 */
	public void index(){
		
		
		
		render("satistic.jsp");
	}	
	public void goodSstisticByYear(){
		
		List<TongjiModel> list = TongjiModel.dao.getYearData();
		
			
		System.out.println(list);
		
		renderJson(list);
	
	}	
	public void goodSstisticByDay(){
		
		List<TongjiModel> list = TongjiModel.dao.getDaydata();
		
			
		System.out.println(list);
		
		renderJson(list);
	
	}	
}
